# Uncomment the next two lines for pre-release testing
#source 'sso://cpdc-internal/firebase'
#source 'https://github.com/CocoaPods/Specs.git'

use_frameworks!

target 'Firestore_Example_iOS' do
  platform :ios, '8.0'

  # The next line is the forcing function for the Firebase pod. The Firebase
  # version's subspecs should depend on the component versions in their
  # corresponding podspec's.
  pod 'Firebase/CoreOnly', '5.12.0'

  pod 'FirebaseAuth', :path => '../../'
  pod 'FirebaseAuthInterop', :path => '../../'
  pod 'FirebaseCore', :path => '../../'
  pod 'GoogleUtilities', :path => '../../'
  pod 'FirebaseFirestore', :path => '../../'

  target 'Firestore_Tests_iOS' do
    inherit! :search_paths

    pod 'GoogleTest', :podspec => 'GoogleTest.podspec'
    pod 'ProtobufCpp', :podspec => 'ProtobufCpp.podspec'

    pod 'OCMock'
    pod 'leveldb-library'
  end

  target 'Firestore_Benchmarks_iOS' do
    inherit! :search_paths

    pod 'GoogleBenchmark', :podspec => 'GoogleBenchmark.podspec'
  end

  target 'Firestore_IntegrationTests_iOS' do
    inherit! :search_paths

    pod 'GoogleTest', :podspec => 'GoogleTest.podspec'

    pod 'OCMock'
    pod 'leveldb-library'
  end

  target 'Firestore_SwiftTests_iOS' do
    pod 'FirebaseFirestoreSwift', :path => '../../'
  end

  target 'Firestore_FuzzTests_iOS' do
    inherit! :search_paths
    platform :ios, '9.0'

    pod 'LibFuzzer', :podspec => 'LibFuzzer.podspec'
    pod '!ProtoCompiler'
  end
end
